/*
 * UserInput.cpp

 *
 *  Created on: 28 Dec 2012
 *      Author: Walter Reis
 */

#include "UserInput.h"
#include <vector>

//bool mouse_rot_up, mouse_rot_left, mouse_rot_down, mouse_rot_right;
//bool w_pressed, a_pressed, s_pressed, d_pressed;
//bool up_pressed, left_pressed, down_pressed, right_pressed;
//Matrix4 camera;

//This will be used for all the key input,
//instead of using the main class.(When it works)

UserInput::UserInput(){
	//mouse_rot_up = false;
	//mouse_rot_left = false;
	//mouse_rot_down = false;
	//mouse_rot_right = false;
	//w_pressed = false;
	//a_pressed = false;
	//s_pressed = false;
	//d_pressed = false;
	//up_pressed = false;
	//left_pressed = false;
	//down_pressed = false;
	//right_pressed = false;
}

/*UserInput::UserInput(Matrix4 camera){
	UserInput();
	this->camera = camera;
}*/

UserInput::~UserInput(){

}

/*void key_input(SDL_Event &event){
	switch(&event){
		case SDLK_a:
			break;
	}

}

void mouse_input(SDL_Event &event){
	switch(&event){
		case SDLK_a:
			break;
	}
}*/

/*void do_things(){
	//movement
	if(up_pressed){
		//camera = camera * Matrix4::rotationX(5.0/180.0);
	}
	if(left_pressed){

	}
	if(down_pressed){

	}
	if(right_pressed){

	}

	//rotation
	if(mouse_rot_up){

	}
	if(mouse_rot_left){

	}
	if(mouse_rot_down){

	}
	if(mouse_rot_right){

	}
}

void rot_camera(int dir){
	if(dir == 0){
		mouse_rot_up = true;
	}
	if(dir == 1){
		mouse_rot_left = true;
	}
	if(dir == 2){
		mouse_rot_down = true;
	}
	if(dir == 3){
		mouse_rot_right = true;
	}
	do_things();
}

void move_camera(int dir){
	if(dir == 0){
		up_pressed = true;
	}
	if(dir == 1){
		left_pressed = true;
	}
	if(dir == 2){
		down_pressed = true;
	}
	if(dir == 3){
		right_pressed = true;
	}
	do_things();
}*/


